<ion-view view-title="我要停车"  hide-tabs="true" >
  <!-- 头部 -->
  <ion-header-bar align-title="center" class="bar-positive">
    <div class="buttons">
      <button class=" button-go-back" ng-click="goback()"><i class="icon ion-chevron-left"></i></button>
    </div>
    <h1 class="title">我要停车</h1>
  </ion-header-bar> 
  <ion-content id="plate" [scroll="true"] [overflow-scroll="true"] class="APP_BG_color">
    <div id="title" class="padding" style="font-size:14px;">
      我的车牌
      <p class="right" ng-hide="hide_btn" style="font-size:14px;">
        <span ng-show="show_edit" ng-click="do_edit()">编辑</span>
        <span ng-hide="show_edit" ng-click="do_cancel()">取消</span>
      </p> 
    </div>
    <div class="list">

      <div class="display" ng-repeat="x in m_plate" style="border-top:1px solid #e0e0e0;" ng-hide="no_plate">
        <span style="color:#A68A4B;font-size:20px;" class="icon ion-ios-minus-outline" ng-show="show_delete" ng-click="delete_plate(x.c_id,x.c_member_car)">

        </span>
        <div class="bg" ng-class="{'outpark':x.isoutpark,'bg':isA}">
          <div class="w_bor" ui-sref='tab.myplate'>
            <!-- 沪A 88888 -->
            {{x.c_member_car}}
          </div>
        </div>
        <span class="note right" style="color:#1976d2;height:30px;line-height:30px;" ng-hide="x.isoutpark" ui-sref="tab.park_pay({id:x.c_member_car})">
          现在缴费
        </span>
        <span class="note right" style="color:#ccc;height:30px;line-height:30px;" ng-show="x.isoutpark">
          未入场
        </span>
      </div>

      <div class="display" ng-show="no_plate" >
        <div class="bg" style="background:#ccc;">
          <div class="w_bor" ui-sref='tab.myplate'>
            我的车牌
          </div>
        </div>
        <span class="note">还没绑定车牌哦！</span>
      </div>

      <a class="item item-icon-right link" style="width:100%;"  ng-show="hide_add_plate" ng-click="go_bind()">
        <i class="icon ion-chevron-right" style="font-size:16px;color:#C7C7CC;"></i>
        <p>添加车牌</p>
        <span >最多可添加三个车牌</span> 
      </a>
    </div>
  </ion-content>
</ion-view>